home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ARASAN_S.ZIP
/
MAKE.CFG
< prev
next >
Wrap
Text File
|
1994-08-15
|
1KB
|
42 lines
# Copyright 1994 by Jon Dart. All Rights Reserved.
# common include file for Borland C++ version 4.0 makefiles.
# for Borland C++ 3.1, delete -x- from CFLAGS.
# location of Windows++:
WPPDIR = ..\wpp
# location of Borland C++:
BCCDIR = c:\bc4
.AUTODEPEND
# Note: don't try anything but large model.
MODEL=l
LIBS= $(WPPDIR)\wpp.lib $(WPPDIR)\commdlg.lib
CL = bcc
LINK = $(BCCDIR)\bin\tlink
DEFINES= -DNULL_MOVE -DUSE_HASH #-DRANGE_CHECK -DDEBUG_ATTACKS
WINCFLAGS = -WSE -DWINDOWS -I$(WPPDIR) # Windows only
CFLAGS= -m$(MODEL) $(DEFINES) -Ff=256 -3 -a -x-
#CDEBUG=-v #uncomment for debug info
LFLAGS= /c/s/A=16/P=32768/L$(BCCDIR)\lib;$(WPPDIR)
WINLFLAGS = /Twe
#LDEBUG=/v #uncomment for debug info
OPTIMIZE =-O2 -Z # uncomment to optimize. Use -O2t-a-g for BCC 3.1
CFLAGS = $(CFLAGS) $(CDEBUG) $(OPTIMIZE)
!if "$(TARGET)"=="windows"
CFLAGS = $(CFLAGS) $(WINCFLAGS)
LFLAGS = $(LFLAGS) $(WINLFLAGS)
!endif
LFLAGS = $(LFLAGS) $(LDEBUG)
RC = brcc
RCFLAGS = -I$(WPPDIR) -I$(BCCDIR)\include
MAKEBOOK = makebook
.cpp.obj:
$(CL) $(CFLAGS) -c $*.cpp